
<script setup lang="ts">
import { ref } from 'vue';

const testColor = ref('gold')
</script>

<template>
  <div class="park-building-page">park-building</div>
  <p v-my-color="testColor">通过指令修改DOM文字颜色 {{ testColor }}</p>
  <button @click="testColor = 'red'">点击换色 red </button>
  <button @click="testColor = 'green'">点击换色 green </button>

<button v-auth="'*:*:*'">权限按钮-超级管理页</button>
<button v-auth="'sys:user:add_edit'">权限按钮-权限按钮1</button>
<button v-auth="'a:b:c'">权限按钮-权限按钮2</button>
<button v-auth="'property:propertyFee:list'">权限按钮-权限按钮3</button>
</template>

<style lang="scss" scoped></style>
